package com.ksp.api;

import java.io.File;
import java.io.FileOutputStream;

public class KSPAPI_FileUtil {

	public static void upload(byte[] pFile, String pFilPath, String pFilName) throws Exception {
		File wTagFil = new File(pFilPath);
		if (!wTagFil.exists()) {
			wTagFil.mkdirs();
		}
		FileOutputStream out = new FileOutputStream(pFilPath + pFilName);
		out.write(pFile);
		out.flush();
		out.close();
		
	}
	
	
}
